package nbcp.base.enums

enum class MyOqlComponentEnum(val value: Int) {
    BASE(1),
    MYOQL(2),
    MVC(4),
    WEB(8),
    FLUX(16),
    HTTP_CLIENT(32),
    HTTP_CLIENT_API(64);

    fun isJustSet(value: Int): Boolean {
        if (this.value and value == 0) return false;

        return value < 2 * this.value;
    }
}